<!--大模型选择下拉选择框组件-->

<script setup lang="ts">
import DropSelctBase from "~/components/ai/DropSelctBase.vue";
import LabelBase from "~/components/ai/LabelBase.vue";
interface Props{
  title?: string,
  options: Option[],
}
interface Option{
  title: string,
  value: string
}
const props = withDefaults(defineProps<Props>(),{
  title: '请选择',
})

const selected=defineModel()

</script>

<template>
  <v-icon size="small" icon="mdi-playlist-check" class="mr-2"></v-icon>
  <label-base>{{title}}</label-base>
  <drop-selct-base v-model="selected" :options="options"></drop-selct-base>
</template>

<style scoped lang="scss">

</style>